import Cookie from '@/utils/libs';

export default {
    setDefaultAddress(state, data){
        // Cookie.setDefaultAddress(data)
        state.selected_address = data
    },
    chooseCoupon(state, data){
        state.selected_coupon = data
    },
    canDrawGoodsWeight(state, data){
        // Cookie.setCanDrawGoodsWeight(data)
        state.can_draw_goods_weight = data
    },
    canPickCoupon(state, data){
        // Cookie.setCanDrawGoodsWeight(data)
        state.can_pick_coupon = data
    },
    setInvoice(state, data){
        // Cookie.setCanDrawGoodsWeight(data)
        state.invoice = data
    },
    publicMessage(state, data){
        // Cookie.setCanDrawGoodsWeight(data)
        state.public_message = data
    }
}
